home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1694.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.3 KB  |  105 lines

  1. 181
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. WaitTillActive 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baWaitTillActive pauses execution until a specified window becomes the active 
  20. --- RECORDSEPARATOR ---
  21. one.
  22. --- RECORDSEPARATOR ---
  23.  
  24. --- RECORDSEPARATOR ---
  25. Usage:
  26. --- RECORDSEPARATOR ---
  27.  
  28. --- RECORDSEPARATOR ---
  29. baWaitTillActive( WindowHandle )
  30. --- RECORDSEPARATOR ---
  31.  
  32. --- RECORDSEPARATOR ---
  33. Arguments:
  34. --- RECORDSEPARATOR ---
  35.  
  36. --- RECORDSEPARATOR ---
  37. Integer. 
  38. --- RECORDSEPARATOR ---
  39. WindowHandle is the handle of the window to wait for.
  40. --- RECORDSEPARATOR ---
  41.  
  42. --- RECORDSEPARATOR ---
  43. Returns:
  44. --- RECORDSEPARATOR ---
  45.  
  46. --- RECORDSEPARATOR ---
  47. Void.
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. Examples:
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Director: 
  56. --- RECORDSEPARATOR ---
  57. baWaitTillActive( baWinHandle() ) --
  58. --- RECORDSEPARATOR ---
  59.  wait till Director window becomes the active 
  60. --- RECORDSEPARATOR ---
  61. one
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Authorware: 
  66. --- RECORDSEPARATOR ---
  67. baWaitTillActive( baWinHandle() )
  68. --- RECORDSEPARATOR ---
  69.  -- wait till Authorware window becomes the 
  70. --- RECORDSEPARATOR ---
  71. active one
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. Notes:
  76. --- RECORDSEPARATOR ---
  77.  
  78. --- RECORDSEPARATOR ---
  79. This function is mainly intended to be used with the RunProgram function. The 
  80. --- RECORDSEPARATOR ---
  81. RunProgram function can pause execution until the jumped to program quits. This 
  82. --- RECORDSEPARATOR ---
  83. may cause a problem if the user switches back to the Authorware program without 
  84. --- RECORDSEPARATOR ---
  85. quitting the jumped to program. If you use the RunProgram without the pause 
  86. --- RECORDSEPARATOR ---
  87. option, you can use this function (after a short wait) to resume the program if the 
  88. --- RECORDSEPARATOR ---
  89. user switches back to it. 
  90. --- RECORDSEPARATOR ---
  91. This function is provided for compatibility with older versions. New applications 
  92. --- RECORDSEPARATOR ---
  93. should use the baWaitForWindow function.
  94. --- RECORDSEPARATOR ---
  95.  
  96. --- RECORDSEPARATOR ---
  97. See also:
  98. --- RECORDSEPARATOR ---
  99.  
  100. --- RECORDSEPARATOR ---
  101. baWaitForWindow 
  102. --- RECORDSEPARATOR ---
  103. baNextActiveWindow 
  104. --- RECORDSEPARATOR ---
  105. baActiveWindow